package com.chy.order_meal.dao;

import com.chy.order_meal.po.Exhibition;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExihibitionDao  extends JpaRepository<Exhibition,Integer> {

     List<Exhibition> getAllByType(Integer type, Pageable pageable);

}
